{% extends 'flatpages/default.html' %}


{% block content %}

    <form method="post" class="post-form" action="#" class="post_form">
        <br>
        <br>
        {% csrf_token %}
        <div class="text-center ">
            <h1>Добавьте новость:</h1>
            <br>
            <br>
            {{ form.as_p }}
            <input type="submit" value="Отправить">
        </div>

    </form>
{% endblock content %}